body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .property-info {
    padding: 10px;
    flex: 1 1 50%;
  }
  
  .property-title {
    font-size: 2em;
    margin: 0 0 10px;
  }
  
  .property-price {
    font-size: 1.5em;
    color: #008080;
    margin: 10px 0;
  }
  
  /* ✅ Video Styling */
  .video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 100%;
  }
  
  .video-container video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: none;
    border-radius: 15px;
    object-fit: cover;
  }
  
  .property-description,
  .property-features {
    margin: 20px 0;
  }
  
  .property-features ul {
    list-style-type: none;
    padding: 0;
  }
  
  .property-features ul li {
    background: url('path/to/checkmark-icon.png') no-repeat left center;
    padding-left: 25px;
    margin: 5px 0;
  }
  
  .contact-agent-button {
    border: none;
    background-color: #ffd700;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-top: 20px;
  }
  
  .contact-agent-button a {
    text-decoration: none;
    color: black;
  }
  
  .contact-agent-button:hover {
    background-color: #008080;
  }
  
  .contact-agent-button a:hover {
    color: white;
  }
  
  @media screen and (max-width: 1080px) {
  /* Example responsive adjustments */
  .property-info {
    flex: 1 1 100%; /* Make the property-info take full width on smaller screens */
    padding: 5px;
  }

  .property-title {
    font-size: 1.5em; /* Slightly smaller title */
  }

  .property-price {
    font-size: 1.2em; /* Slightly smaller price */
  }

  .video-container video {
    max-width: 100%; /* Make video fully responsive */
    border-radius: 10px;
  }

  /* Updated contact agent button styles for <=1080px */
  .contact-agent-button {
    background-color: #008080;
    width: 100%;
    text-align: center;
    padding: 15px 0; /* keep padding consistent */
    font-size: 1.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
  }

  .contact-agent-button a {
    color: white;
    text-decoration: none;
  }

  .contact-agent-button:hover {
    background-color: #ffd700;
  }

  .contact-agent-button a:hover {
    color: black;
  }
}

  /* ✅ Responsive: Center video and stack layout on smaller screens */
 @media (max-width: 1024px) {
  .property-info {
    flex: 1 1 100%;
  }

  .video-container video {
    max-width: 100%;
    height: auto;
  }

  .contact-agent-button {
    background-color: #008080;
    width: 100%;
    text-align: center;
  }

  .contact-agent-button a {
    color: white;
  }

  .contact-agent-button:hover {
    background-color: #ffd700;
  }

  .contact-agent-button a:hover {
    color: black;
  }
}

@media (max-width: 912px) {
  .property-info {
    padding: 10px;
  }

  .contact-agent-button {
    background-color: #008080;
    width: 100%;
    text-align: center;
  }

  .contact-agent-button a {
    color: white;
  }

  .contact-agent-button:hover {
    background-color: #ffd700;
  }

  .contact-agent-button a:hover {
    color: black;
  }
}

@media (max-width: 853px) {
  .property-info {
    padding: 10px;
  }

  .contact-agent-button {
    background-color: #008080;
    width: 100%;
    text-align: center;
  }

  .contact-agent-button a {
    color: white;
  }

  .contact-agent-button:hover {
    background-color: #ffd700;
  }

  .contact-agent-button a:hover {
    color: black;
  }
}

@media (max-width: 820px) {
  .property-info {
    padding: 10px;
  }

  .contact-agent-button {
    background-color: #008080;
    width: 100%;
    text-align: center;
  }

  .contact-agent-button a {
    color: white;
  }

  .contact-agent-button:hover {
    background-color: #ffd700;
  }

  .contact-agent-button a:hover {
    color: black;
  }
}

  @media (max-width: 768px) {
    .property-info {
      flex: 1 1 100%;
    }
  
    .video-container video {
      max-width: 100%;
      height: auto;
    }
  
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
    
  }
  @media (max-width: 480px) {
    .property-info {
      flex: 1 1 100%;
      padding: 10px;
    }
    .video-container video {
      max-width: 100%;
      height: auto;
    }
  
    .contact-agent-button {
      width: 100%;
      text-align: center;
    }
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }
  @media (max-width: 414px) {
    .property-info {
      padding: 10px;
    }
  
    .video-container video {
      max-width: 100%;
      height: auto;
    }
  
    .contact-agent-button {
      width: 100%;
    }
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }
  
  @media (max-width: 375px) {
    .property-info {
      padding: 10px;
    }
  
    .video-container video {
      max-width: 100%;
      height: auto;
    }
  
    .contact-agent-button {
      width: 100%;
    }
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }
  
  @media (max-width: 360px) {
    .property-info {
      padding: 10px;
    }
  
    .video-container video {
      max-width: 100%;
      height: auto;
    }
  
    .contact-agent-button {
      width: 100%;
    }
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }